package com.example.albumhot;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class ItemChildsAlbum  extends Activity {
	
	// JSON node keys
	private static final String TAG_ID = "id";
	private static final String TAG_ARTIST = "artist";
	private static final String TAG_TITLE = "title";
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_single_contact);
        Intent in = getIntent();
        String id = in.getStringExtra(TAG_ID);
        String artist = in.getStringExtra(TAG_ARTIST);
        String title = in.getStringExtra(TAG_TITLE);
        TextView lblName = (TextView) findViewById(R.id.id_label);
        TextView lblEmail = (TextView) findViewById(R.id.artist_label);
        TextView lblMobile = (TextView) findViewById(R.id.title_label);
        
        lblName.setText(id);
        lblEmail.setText(artist);
        lblMobile.setText(title);
    }
}
